#!/usr/bin/env bash

scp -P 22 -i ./college-help.pem ../build/distributions/app-all.zip  root@www.xiangyiyoupin.cn:/home
ssh -p 22 -i ./college-help.pem root@www.xiangyiyoupin.cn  'cd /home && unzip app-all.zip'
scp -P 22 -i ./college-help.pem ./start.sh  root@www.xiangyiyoupin.cn:/home/app-all
ssh -p 22 -i ./college-help.pem root@www.xiangyiyoupin.cn  'cd /home/app-all && ./start.sh'
